package com.order.manager.Model.other;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.order.manager.Model.MenuInfo;
import com.order.manager.Model.OrderMenuInfo;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
public class OrderView {
    private String  orderId;
    private String shopName;
    private BigDecimal money;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date inputDate;
    private int type;//类型
    private String demo;
    private String address;
    private String sendState;//配送状态
    private String senderName;//配送员名称
    private int applyState;//支付状态
    private List<MenuCount> menuCounts;//菜品
}
